/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.schoolnotice.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lczyfz.campusinfo.common.persistence.Page;
import com.lczyfz.campusinfo.common.service.CrudService;
import com.lczyfz.campusinfo.modules.schoolnotice.entity.SchNotice;
import com.lczyfz.campusinfo.modules.schoolnotice.dao.SchNoticeDao;

/**
 * 校园通知Service
 * @author zms
 * @version 2018-03-21
 */
@Service
@Transactional(readOnly = true)
public class SchNoticeService extends CrudService<SchNoticeDao, SchNotice> {

	public SchNotice get(String id) {
		return super.get(id);
	}
	
	public List<SchNotice> findList(SchNotice schNotice) {
		return super.findList(schNotice);
	}
	
	public Page<SchNotice> findPage(Page<SchNotice> page, SchNotice schNotice) {
		return super.findPage(page, schNotice);
	}
	
	@Transactional(readOnly = false)
	public void save(SchNotice schNotice) {
		super.save(schNotice);
	}
	
	@Transactional(readOnly = false)
	public void delete(SchNotice schNotice) {
		super.delete(schNotice);
	}
	
}